package com.jsmtr.rms.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

@Entity
@Table(name = "DUserTraining")
public class DUserTraining {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 50)
    private String rid; // 应聘者简历ID

    @Column(nullable = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date starttime; // 开始时间

    @Column(nullable = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endtime; // 结束时间

    @Column(nullable = false, length = 100)
    private String course; // 培训课程

    @Column(nullable = false, length = 100)
    private String organization; // 培训机构

    @Column(nullable = false, length = 100)
    private String certificate;  // 获得证书

    @Column(nullable = false, length = 1000)
    private String description;  // 培训内容

    public String getId() {
        return id;
    }

    public String getRid() {
        return rid;
    }

    public Date getStarttime() {
        return starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public String getCourse() {
        return course;
    }

    public String getOrganization() {
        return organization;
    }

    public String getCertificate() {
        return certificate;
    }

    public String getDescription() {
        return description;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public void setDescription(String description) {
        this.description = description;
    }


}